package com.party.core.service.competition;

import com.party.common.paging.Page;
import com.party.core.model.competition.CompetitionGroupResult;
import com.party.core.service.IBaseService;

import java.util.List;
import java.util.Map;

/**
 * 小组成绩
 *
 * @author Administrator
 */
public interface ICompetitionGroupResultService extends IBaseService<CompetitionGroupResult> {
    /**
     * 项目小组排名
     *
     * @param params
     * @param page
     * @return
     */
    List<Map<String, Object>> getByGroup(Map<String, Object> params, Page page);

    CompetitionGroupResult getUnique(CompetitionGroupResult query);

    void deleteByUnique(CompetitionGroupResult query);

    void deleteByProjectId(String projectId);
}
